<template>
<div class="loadingMask">
    <div class="box">
        <div class="iconBox">
            <img src="@/assets/img/logo.svg" alt=""/>
        </div>
        <p class="txt">{{$t('loading')}}<dots-effect></dots-effect></p>
    </div>
</div>
</template>

<style lang="scss" scoped>
.loadingMask {
    $color: #D53B76;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;

    .box {
        .iconBox {
            $w:100px;
            $h:100px;
            text-align: center;
            position: relative;

            .icon {
                font-size: 30px;
                color: $color;
            }
        }

        p.txt {
            padding-left: 40px;
            font-size: 18px;
            margin-top: 10px;
            color: $color;
        }
    }
}
</style>
